package Demo03.Demo04;

public class DrawTest {
    public static void main(String[] args) {
        //创建一个账户
        Account account = new Account("123456789", 1000);
        ////模拟两个线程对同一个账户取钱
        new DrawThread("王思聪",account,1200).start();
        new DrawThread("马化腾",account,999).start();
    }
}
